﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admini/MasterDetail.Master" AutoEventWireup="true" CodeBehind="UserWorkDetail.aspx.cs" Inherits="ART.Admini.Users.UserWorkDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="server">
        <script type="text/javascript" src="/scripts/calendar/WdatePicker.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContent" runat="server">
                        
<div id="h_main">
        <span class="red">◆</span> 表示必填字段</div>
    <div id="h_operate" style="padding-top: 5px;">
        <table border="0" cellpadding="0" cellspacing="1" bgcolor="#ffffff" width="100%">
            <tr>
                <td class="td_title">
                    <span class="red">◆</span> 工作开始时间：
                </td>
                <td class="td_content">
                    <asp:TextBox ID="txtstartDate" runat="server"  OnClick="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})"
                        SkinID="date" title="选择日期"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="日期不能为空!" ControlToValidate="txtstartDate"
                        ValidationGroup="add" Display="None"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="td_title">
                    <span class="red">◆</span> 离职时间：
                </td>
                <td class="td_content">
                    <asp:TextBox ID="txtEndDate" runat="server"  OnClick="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})"
                        SkinID="date" title="选择日期"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="日期不能为空!" ControlToValidate="txtEndDate"
                        ValidationGroup="add" Display="None"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="td_title">
                    <span class="red">◆</span> 公司名：
                </td>
                <td class="td_content">
                    <asp:TextBox ID="txtComanyName" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="公司名不能为空!" ControlToValidate="txtComanyName"
                        ValidationGroup="add" Display="None"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="td_title">
                   <span class="red">◆</span> 职位：
                </td>
                <td class="td_content">
                    <asp:TextBox ID="txtPositionName" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="职位不能为空!" ControlToValidate="txtPositionName"
                        ValidationGroup="add" Display="None"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="td_title">
                    工作地：
                </td>
                <td class="td_content">
                   <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <asp:DropDownList ID="dropAreadIdY" runat="server" AutoPostBack="true" OnSelectedIndexChanged="dropAreadIdY_SelectedIndexChanged"
                                    Style="width: 172px;">
                                </asp:DropDownList>
                            </td>
                            <td style="padding-left: 3px;">
                                <asp:DropDownList ID="dropAreadIdY2" runat="server"
                                    Style="width: 170px;">
                                    <asp:ListItem Value="0">-请选择市-</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <%--<tr>
                <td class="td_title">
                    证件奖励（| 分隔）：
                </td>
                <td class="td_content">
                    <asp:TextBox ID="txtImgs" runat="server"></asp:TextBox>
                </td>
            </tr>--%>
            <tr>
                <td class="td_title">
                    说明：
                </td>
                <td class="td_content">
                   <asp:TextBox ID="txtRemarks" runat="server" Height="80px" Width="510px" TextMode="MultiLine"
                        MaxLength="255"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="td_title">
                    排序：
                </td>
                <td class="td_content">
                    <asp:TextBox ID="txtSort" runat="server" onkeypress="isNum()" >0</asp:TextBox> <span>填写数字</span><asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"
                        ErrorMessage="排序不能为空!" ControlToValidate="txtSort" ValidationGroup="add" Display="None"></asp:RequiredFieldValidator><asp:RangeValidator
                            ID="RangeValidator1" runat="server" ControlToValidate="txtSort" Display="None"
                            ErrorMessage="请正确填写排序!" MaximumValue="100000" MinimumValue="0" Type="Integer"
                            ValidationGroup="add"></asp:RangeValidator>
                </td>
            </tr>
        </table>
    </div>
    <div id="h_bottom">
        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <contenttemplate>
        <asp:Button ID="btnSave" OnClick="btnSave_Click" runat="server" Text="保 存" ValidationGroup="add">
        </asp:Button>
        &nbsp;
        <input id="Button2" type="button" value="关 闭" onclick="closeDlg()" class="btn" /><asp:ValidationSummary
            ID="ValidationSummary1" runat="server" ShowMessageBox="true" ShowSummary="false"
            ValidationGroup="add" />
        </contenttemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
